/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * @author 品讯科技
 */

package com.px.pa.modulars.circle.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.px.pa.modulars.circle.entity.CircleUser;
import com.px.pa.modulars.circle.vo.CircleUserVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 用户
 *
 * @author 品讯科技
 * @date 2024-08
 */
public interface CircleUserService extends IService<CircleUser> {

    Page<CircleUser> getPageHomeList(Integer page, Integer pageSize, String keyWord,String manageRange,String tenant);

    CircleUserVo getCircleUser(Integer id,Integer userId,Integer type);


    public Page<CircleUser> getLiastPage(Page page, String keyWord, String manageRange,String tenant);


    List<Map<?,Object>> solveExcel(MultipartFile file,String tenant);

    List<Map<?,Object>> importFileByOrganizationalId(MultipartFile file,String oid,String tenant);

    Map<String,Object> getAdminPeople(@Param("type") Integer type);

    List<Map<String,Object>> getAdminMonthPeople();

}
